//
//  QuestionTableViewCell.m
//  0.3camera
//
//  Created by 茶 on 2023/11/24.
//

#import "QuestionTableViewCell.h"

@interface QuestionTableViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *titleLbl;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation QuestionTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _titleLbl.font = CAFontScaleRegular(16);
    _contentLabel.font = CAFontScaleRegular(14);
    
    _titleLbl.textColor = HexColor(@"#29282A");
    _contentLabel.textColor = HexColor(@"#999999");
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setDic:(NSDictionary *)dic {
    _dic = dic;
    _titleLbl.text = dic[@"title"];
    _contentLabel.text = dic[@"content"];
}

@end
